home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The X-Philes (2nd Revision)
/
The X-Philes Number 1 (1995).iso
/
xphiles
/
hp48hor2
/
sortln.doc
< prev
next >
Wrap
Text File
|
1995-03-31
|
585b
|
19 lines
'SORTLN' by Joe Horn; *quickly* sorts a list of numbers into order.
100% supported System RPL; will work on present & future HP 48's.
Be sure only to use a list of REAL NUMBERS as the input to this
routine; any other objects in the list will cause undesirable results.
Sample execution times of lists of random numbers:
LIST SIZE SECONDS TO SORT
--------- ---------------
16 0.4
32 0.9
64 2.4
128 6.3
256 16.5
512 42.7
Thanx to Brian Maguire & Mike Morgan for concepts used here.